<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>
Statistics
</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Statistics</H1>
<p>
ZAP maintains statistics which can help you understand what is really happening when interacting with large applications.
</p>
<p>
The statistics are available via the <a href="api.html">API</a> and can be also sent to a Statsd server when 
configured via the <a href="../../ui/dialogs/options/stats.html">Options Statistics screen</a>.
</p>

<H3>Site based statistics</H3>
Statistics maintained on a per site basis include:
<ul>
<li>response codes, eg:
	<ul>
	<li>stats.code.200</li>
	<li>stats.code.302</li>
	</ul></li>
<li>response times in ms (using a logarithmic scale), eg:
	<ul>
	<li>stats.responseTime.1</li>
	<li>stats.responseTime.2</li>
	<li>stats.responseTime.4</li>
	<li>stats.responseTime.8</li>
	<li>stats.responseTime.16</li>
	</ul></li>
<li>content types, eg:
	<ul>
	<li>stats.contentType.text/css</li>
	<li>stats.contentType.text/html;charset=utf-8</li>
	</ul></li>
<li><a href="tags.html">tags</a>, eg:
	<ul>
	<li>stats.tag.Password</li>
	<li>stats.tag.Hidden</li>
	</ul></li>
<li>anticsrf tokens generated:
	<ul>
	<li>stats.acsrf.anticsrf</li>
	</ul></li>
<li>authentication info:
	<ul>
	<li>stats.auth.success (number of authentication successes)</li>
	<li>stats.auth.failure (number of authentication failures)</li>
	<li>stats.auth.state.loggedin (number of responses that appear to be logged in)
	<li>stats.auth.state.loggedout (number of responses that appear to be logged out)
	<li>stats.auth.state.noindicator (number of responses where no logged in or out indicators have been set)
	<li>stats.auth.state.unknown (number of responses which don't contain either logged in or out indicators)
	</ul></li>
</ul>
</p>

<H2>See also</H2>
<table>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><a href="../../ui/overview.html">UI Overview</a></td><td>for an overview of the user interface</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><a href="concepts.html">Features</a></td><td>provided by ZAP</td></tr>
</table>

</BODY>
</HTML>
